package de.lijin.databank;

import android.database.Cursor;

public class Ablauf {
	private String allgemeineHinweise;
	private String[] schritte;
	private String[] details;

	protected Ablauf(Cursor cursor) {
		allgemeineHinweise = cursor.getString(2);
		schritte = new String[8];
		details = new String[8];
		schritte[0] = cursor.getString(3);
		schritte[1] = cursor.getString(5);
		schritte[2] = cursor.getString(7);
		schritte[3] = cursor.getString(9);
		schritte[4] = cursor.getString(11);
		schritte[5] = cursor.getString(13);
		schritte[6] = cursor.getString(15);
		schritte[7] = cursor.getString(17);
		details[0]  = cursor.getString(4);
		details[1]  = cursor.getString(6);
		details[2]  = cursor.getString(8);
		details[3]  = cursor.getString(10);
		details[4]  = cursor.getString(12);
		details[5]  = cursor.getString(14);
		details[6]  = cursor.getString(16);
		details[7]  = cursor.getString(18);
	}

	public String getAllgemeineHinweise() {
		return allgemeineHinweise;
	}

	public String[] getSchritte() {
		return schritte;
	}

	public String[] getDetails() {
		return details;
	}
	
	

}
